<?php if(!defined('PUBLIC_DIR')) die('No Access!');

Cnamespace('System.Web.MVC');
class Theme extends View implements iTheme{
	public function __construct($path = ''){
	}

	public function LoadBlocks(){
	}
	public function LoadPlugins(){
	}
	public function RenderBlocks(){
	}
	public function RenderPlugins(){
	}

	public function Render($again = false){
		$data = new Smarty_Data;
		$data->assign('foo', 'bar');
		$smarty = new SmartyView;
		$tpl = $smarty->createTemplate(SITES_DIR . 'Default' . DS . 'Themes' . DS . 'Base' . DS . 'base.tpl', $data);
		$smarty->display($tpl);
	}
}
